PREVIEW: Today you'll be learning about returning values from a function by making a stick figure dance!

  • Click Run to see the stick figures dance!
  • Look at the return statement (line 15). What is stored in the person variable?
  • Look at the function calls on lines 25-27. What are the values stored in person1, person2, person3?
  • When you are done, click Submit and Next to move on.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)